// 登录请求封装
import instance from '@/utils/request'

const login = (emp) => {
  return instance.post('/employee/login', emp)
}

const getEmployee = (id) => {
  return instance.get(`/employee/${id}`)
}

// 按需导出
export { login, getEmployee }
